package com.lin.mapper;

import com.lin.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author Lin
 * @since 2022-03-01
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 选择通过主键
     *
     * @param menuId 菜单id
     * @return {@link Menu}
     */
    Menu selectByPrimaryKey(Long menuId);
}
